Diarization using linguistic labeling

ABSTRACT

Systems and methods of diarization using linguistic labeling include receiving a set of diarized textual transcripts. A least one heuristic is automatedly applied to the diarized textual transcripts to select transcripts likely to be associated with an identified group of speakers. The selected transcripts are analyzed to create at least one linguistic model. The linguistic model is applied to transcripted audio data to label a portion of the transcripted audio data as having been spoken by the identified group of speakers. Still further embodiments of diarization using linguistic labeling may serve to label agent speech and customer speech in a recorded and transcripted customer service interaction.

CROSS-REFERENCE TO RELATED APPLICATIONS

The present application claims priority of U.S. Provisional Patent Application No. 61/729,004, filed on Nov. 21, 2012, and 61/729,067 filed Nov. 21, 2012, the contents of which are incorporated herein by reference in their entireties.

BACKGROUND

The present disclosure is related to the field of automated transcription. More specifically, the present disclosure is related to diarization using linguistic labeling.

Speech transcription and speech analytics of audio data may be enhanced by a process of diarization wherein audio data that contains multiple speakers is separated into segments of audio data typically to a single speaker. While speaker separation in diarization facilitates later transcription and/or speech analytics, further identification or discrimination between the identified speakers can further facilitate these processes by enabling the association of further context and information in later transcription and speech analytics processes specific to an identified speaker.

Systems and methods as disclosed herein present solutions to improve diarization using linguistic models to identify and label at least one speaker separated from the audio data.

BRIEF DISCLOSURE

An embodiment of a method of diarization of audio data includes receiving a set of diarized textual transcripts. At least one heuristic is automatedly applied to the diarized textual transcripts to select transcripts likely to be associated with an identified group of speakers. The selected transcripts are analyzed to create at least one linguistic model. A linguistic model is applied to transcripted audio data to label a portion of the transcripted audio data as having been spoken by the identified group of speakers.

An exemplary embodiment of a method of diarization of audio data from a customer service interaction between at least an agent and a customer includes receiving a set of diarized textual transcripts of customer service interactions between at least an agent and a customer. The diarized textual transcripts are group in pluralities compromising at least a transcript associated to the agent and a transcript associated to the customer. At least one heuristic is automatedly applied to the diarized textual transcripts to select at least one of the transcripts in each plurality as being associated to the agent. The selected transcripts are analyzed to create at least one linguistic model. A linguistic model is applied to transcripted audio data to label a portion of the transcripted audio data as having been spoken by the agent.

Exemplarily embodiment of a system for diarization and labeling of audio data includes a database comprising a plurality of audio files. A transcription server transcribes and diarizes the audio files of the plurality of audio files into a plurality of groups comprising at least two diarized textual transcripts. A processor automatedly applies at least one heuristic to the diarized textual transcripts to select at least one of the transcripts in each group as being associated to an identified group of speakers and analyze the selected transcripts to create at least one linguistic model indicative of the identified group of speakers. An audio source provides new transcripted audio data to the processor. The processor applies the linguistic model to the transcripted audio data to label a portion of the transcripted audio data as being associated with the identified group of speakers.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a flow chart that depicts an embodiment of a method of diarization.

FIG. 2 is a flow chart that depicts m embodiment of creating and using an agent linguistic model.

FIG. 3 is a system diagram of an exemplary embodiment of a system of diarization of audio files.

DETAILED DISCLOSURE

Speech transcription and speech analytics of an audio stream are enhanced by diarization wherein a speaker identity is identified and associated with speech segments. A speaker diarization system and method is aimed at identifying the speakers in a given call and associating each speech segment with an identified speaker.

Embodiments of a diarization process disclosed herein include a first step of a speech-to-text transcription of an audio file to be diarized. Next, a “blind” diarization of the audio file is performed. The audio file is exemplarily a .WAV file. The blind diarization receives the audio file and optionally an information file from the speech-to-text transcription that includes at least a partial transcription of the audio file as inputs. Each audio segment or term in the information file is associated between speakers based upon identified acoustic or textual features. This diarization is characterized as “blind” as the diarization is performed prior to an identification of the speakers. In an exemplary embodiment of a customer service call, the “blind” diarization may only identify speakers while it may still be undetermined which speaker is the agent and which speaker is the customer.

The blind diarization is followed by an agent diarization wherein an agent model that represents the speech and/or information content of the agent speaker is compared to the identified speech segments associated with the separated speakers. Through this comparison, one speaker can be identified as an agent, while the other speaker is identified as the customer. One way in which one speaker can be identified as an agent is by linguistically modeling the agent side of a conversation, and comparatively using this model to identify segments of the transcription attributed to the agent.

The identification of segments attributed to a single speaker in an audio file, such as an audio stream or recording (e.g. telephone call that contains speech) can facilitate increased accuracy in transcription, diarization, speaker adaption, and/or speech analytics of the audio file. An initial transcription, exemplarily from a fast, speech-to-text engine, can be used to more accurately identify speech segments in an audio file, such as an audio stream or recording, resulting in more accurate diarization and/or speech adaptation. In some embodiments, the transcription may be optimized for speed rather than accuracy.

FIGS. 1 and 2 are flow charts that respectively depict exemplary embodiments of method 100 of diarization and a method 200 of creating and using an a linguistic model. FIG. 3 is a system diagram of an exemplary embodiment of a system 300 for creating and using a linguistic model. The system 300 is generally a computing system that includes a processing system 306, storage system 304, software 302, communication interface 308 and a user interface 310. The processing system 306 loads and executes software 302 from the storage system 304, including a software module 330. When executed by the computing system 300, software module 330 directs the processing system 306 to operate as described in herein in further detail in accordance with the method 100 and alternatively the method 200.

Although the computing system 300 as depicted in FIG. 3 includes one software module in the present example, it should be understood that one or more modules could provide the same operation. Similarly, while description as provided herein refers to a computing system 300 and a processing system 306, it is to be recognized that implementations of such systems can be performed using one or more processors, which may be communicatively connected, and such implementations are considered to be within the scope of the description.

The processing system 306 can comprise a microprocessor and other circuitry that retrieves and executes software 302 from storage system 304. Processing system 306 can be implemented within a single processing device but can also be distributed across multiple processing devices or sub-systems that cooperate m existing program instructions. Examples of processing system 306 include general purpose central processing units, application specific processors, and logic devices, as well as any other type of processing device, combinations of processing devices, or variations thereof.

The storage system 304 can comprise any storage media readable by processing system 306, and capable of storing software 302. The storage system 304 can include volatile and non-volatile, removable and non-removable media implemented in any method or technology for storage of information, such as computer readable instructions, data structures, program modules, or other data storage system 304 can be implemented as a single storage device but may also be implemented across multiple storage devices or sub-systems. Storage system 304 can further include additional elements, such as a controller capable of communicating with the processing system 306.

Examples of storage media include random access memory, read only memory, magnetic discs, optical discs. Hash memory, virtual memory, and non-virtual memory, magnetic sets, magnetic tape, magnetic disc storage or other magnetic storage devices, or any other medium which can be used to storage the desired information and that may be accessed by an instruction execution system, as well as any combination or variation thereof, or any other type of storage medium. In some implementations, the storage media can be a non-transitory storage media. In some implementations, at least a portion of the storage media may be transitory. It should be understood dial in no case is the storage media a propagated signal.

User interface 310 can include a mouse, a keyboard, a voice input device, a touch input device for receiving a gesture from a user, a motion input device for detecting non-touch gestures and other motions by a user, and other comparable input devices and associated processing elements capable of receiving user input from a user. Output devices such as a video display or graphical display can display an interface further associated with embodiments of the system and method as disclosed herein. Speakers, printers, haptic devices and other types of output devices may also be included in the user interface 310.

As described in further detail herein, the computing system 200 receives an audio file 320. The audio file 320 may be an audio recording or a conversation, which may exemplarily be between two speakers, although the audio recording may be any of a variety of other audio records, including multiple speakers, a single speaker, or an automated or recorded auditory message. In still further embodiments, the audio file may be streaming audio data received m real time or near-real time by the computing system 300.

FIG. 1 is a flow chart that depicts an embodiment of a method of diarization 100. Audio data 102 is an audio recording of a conversation exemplarily between two or more speakers. The audio data may exemplarily be a .WAV file, but may also be other types of audio or video formats, for example pulse code modulated (PCM) format and linear pulse code modulated (LPCM) audio files. Furthermore, the audio data is exemplarily a mono audio file; however, it is recognized that embodiments of the method disclosed herein may also be used with stereo audio files. One feature of the method disclosed herein is that speaker separation in diarization can be achieved in mono audio files where stereo speaker separation techniques are not available.

In embodiments, the audio data 102 further comprises, or is associated to, metadata 108. The metadata 108 can exemplarily include data indicative of a subject, content, or participant in the audio data 102. In alternative embodiments, the metadata 108 may provide information regarding context or content of the audio data 102, including a topic, time, date, or location etc.

The audio data 102 and the metadata 108 are provided to a speech-to-text (STT) server 104, which may employ any of a variety of method of techniques for automatic speech recognition (ASR) to create an automated speech-to-text transcription 106 from the audio file. The transcription performed by the STT server at 104 can exemplarily be a large-vocabulary continuous speech recognition (LVCSR) and the audio data 102 provided to the STT server 104 can alternatively be a previously recorded audio file or can be streaming audio data obtained from an ongoing communication between two speakers. In an exemplary embodiment, the STT server 104 may use the received metadata 108 to select one or more models or techniques for producing the automated transcription. In a non-limiting example, an identification of one of the speakers in the audio data can be used to select a topical linguistic model based upon a content area associated with the speaker. Such content areas may be technological customer service, medical, legal, or other contextually based models. In addition to the transcription 106 from the STT server 104, STT server 104 may also output time stamps associated with particular transcription segments, words, or phrases, and may also include a confidence score in the automated transcription. The transcription 106 may also identify homogeneous speaker speech segments. Homogenous speech segments are those segments of the transcription that have a high likelihood of originating from a single speaker. The speech segments may exemplarily correspond to phonemes, words, or sentences.

After the transcription 106 is created, both the audio data 102 and the transcription 106 are used for a blind diarization at 110. The diarization is characterized as blind as the identities of the speakers (e.g. agent, customer) are not known at this stage and therefore the diarization 110 merely discriminates between a first speaker (speaker 1) and a second speaker (speaker 2), or more. Additionally, in some embodiments, those segments for which a speaker cannot be reliably determined may be labeled as being of an unknown speaker.

An embodiment of the blind diarization at 110 receives the mono audio data 102 and the transcription 106 and begins with the assumption that there are two main speakers in the audio file. The homogeneous Speaker segments from the transcription 106 are identified in the audio file. Then, long homogeneous speaker segments can be split into sub-segments if long silent intervals are found within a single segment. The sub-segments are selected to avoid splitting the long speaker segments within a word. The transcription 106 can provide context to where individual words start and end. After the audio file has been segmented based upon both the audio file 102 and the transcription 106, the identified segments are clustered into speakers (e.g. speaker 1 and speaker 2).

In an embodiment, the blind diarization uses voice activity detection (VAD) to segment the audio data 102 into utterances or short segments of audio data with a likelihood of emanating from a single speaker. In an embodiment, the VAD segments the audio data into utterances by identifying segments of speech separated by segments of non-speech on a frame-by-frame basis. Context provided by the transcription 106 can improve the distinction between speech and not speech segments. In the VAD an audio frame may be identified as speech or non-speech based upon a plurality of heuristics or probabilities exemplarily based upon mean energy, band energy, peakiness, residual energy or using the fast transcription; however, it will be recognized that alternative heuristics or probabilities may be used in alternative embodiments.

The blind diarization at 110 results in the homogenous speaker segments of the audio data (and the associated portion of the transcription 106) being tagged at 112 as being associated to a first speaker or a second speaker. As mentioned above, in some embodiments, more than two speakers may be tagged, while in other embodiments, some segments may be tagged as “unknown.” It is to be understood that in some embodiments the audio data may be diarized first and then transcribed, or transcribed first and then diarized. In either embodiment, the audio data/transcription portions tagged at 112 are further processed by a more detailed diarization at 114 to label the separated speakers.

The separation of spoken content into different speaker sides requires the additional information provided by the agent model, the customer model, or both models in order to label which side of a conversation is the agent and which is the customer. A linguistic agent model 116 can be created using the transcripts, such as those produced by the STT server 104 depicted in FIG. 1, or in other embodiments, as disclosed herein from a stored database of customer service interaction transcripts, exemplarily obtained from customer service interactions across a facility or organization. It is recognized that in alternative embodiments, only transcripts from a single specific agent may be considered. A linguistic agent model identifies language and language patterns that are unique or highly correlated to the agent side of a conversation. In some embodiments, similar identification of language correlated to the customer side of a conversation is identified and complied into the customer model 118. The combination of one or more of these linguistic models are then used in comparison to the segmented transcript to distinguish between the agent and the customer, such as after a blind diarization.

When a customer service agent's speech is highly scripted, the linguistic patterns found in the script can be used to identify the agent side of a conversation. A script is usually defined as a long stretch of words which is employed by many agents and is dictated by the company (e.g. “ . . . customer services this is [name] speaking how can I help you . . . ”). Due to the linguistic properties of a conversation, it is rare to find a relatively long (e.g. five or more, seven or more, ten or more) stretch of words repeated over many conversations and across agents. Therefore, if such a long stretch of words is repeatedly identified in one side of a conversation, then there is an increased probability that this represents a script that is being repeated by an agent in the course of business.

However, in order to be responsive to customer needs, the number of actual scripts used by an organization is usually small and agents are likely to personalize or modify the script in order to make the script more naturally fit into the conversation. Therefore, without supplementation, reliance solely upon scripts may lead to inaccurate agent labeling as many conversations go unlabeled as no close enough matches to the scripts are found in either side of the conversations.

Therefore, in an embodiment, in addition to the identification and use of scripts in diarization, the agents' linguistic speech patterns can be distinguished by the use of specific words, small phrases, or expressions, (e.g. “sir”, “apologize”, “account number”, “let me transfer you”, “what I'll do is”, “let me see if”, or others). Shorter linguistic elements such as these constitute an agent linguistic cloud, that may be correlated to agent speech, but may also have a higher chance to appear in the customer side of a conversation, either by chance, or due to error in the transcription, blind diarization, or speaker separation.

In one embodiment, the difference between these two techniques can be summarized as while script analysis looks for specific sequences of words, the agent linguistic cloud approach looks more towards the specific words used, and their frequency by one side in a conversation. A robust linguistic model uses both approaches in order to maximize foe ability of the model to discriminate between agent and customer speech.

At 114 the agent model 116, and m some embodiments a customer model 118, are applied to the transcript clusters resulting from the speaker tagging 112. It will be recognized that in embodiments, the transcription and the blind diarization may occur in either order. In embodiments wherein the transcription is performed first, the transcription can assist in the blind diarization while embodiments wherein the blind diarization is performed first, this diarized audio can facilities transcription. In any event, the agent diarization at 114 is provided with clustered segments of transcription that has been determined to have ordinated from a single speaker. To these clusters the agent model 116 and customer model 118 are applied and a determination is made as to which of the models, the clustered transcriptions best match. As a result from this comparison, one side of the conversation is tagged as the agent at 120 while the other side is tagged as the customer. In embodiments wherein only an agent model is used, the transcription data that is not selected as being more correlated to the agent model is tagged as being associated to the customer. After the transcription has been tagged between agent and customer speech at 120, this transcription can further be used in analytics at 122 as the labeling of the diarized conversation can facilitate more focused analysis, exemplarily on solely agent speech or solely customer speech.

FIG. 2 is a diagram that depicts an embodiment of a method 200 creating and using a linguistic model for labeling 200. The diagram of FIG. 2 can be generally separated into two portions, a training portion 202 in which the agent linguistic model is created, and a labeling portion 204 in which the agent linguistic model is applied to a diarized conversation in order to identify the speakers in the conversation as an agent or a customer.

Starting with 202, a set of M recorded conversations are selected at 206. The set of recorded conversations can be a predetermined number (e.g. 1,000), or can be a temporally determined number (e.g. the conversations recorded within the last week or 100 hours of conversation), or a subset thereof. It is understood that these numbers are merely exemplary of the size of the set and not intended to be limiting. The recorded conversations may all be stored at a repository at a computer readable medium connected to a server and in communication with one or more computers in a network.

In embodiments, the set of recorded conversations may be further processed and reduced, exemplarily by performing an automated analysis of transcription quality. Exemplary embodiments of such automated techniques may include autocorrelation signal analysis. As previously mentioned above, the speech to text server may also output a confidence score in the transcription along with the transcription. In an exemplary embodiment, only those transcriptions deemed to be of a particular high quality or high confidence am selected to be used at 206.

The selected set of recorded conversations are diarized and transcribed at 208. In embodiments, the transcription and diarization may be performed in the manner as disclosed above with respect to FIG. 1, or in a manner similar to that as described. In an alternative embodiment, when the recorded conversations in the sets selected at 206 are actual calls recorded and analyzed by a company or organization, the transcription and diarization may already be performed as part of the original use and analysis of the audio recording of the conversation and therefore the diarization and transcription may be already stored in the repository with, or associated with, the audio file.

At 210, the results of the transcription and diarization at 208 are separated into a plurality of text documents wherein each document contains the text transcript of one speaker side of a conversation. Therefore, due to the nature of conversation, the number of text documents 210 is larger than the number of audio files in the set selected at 206 as each audio file will likely be split into two, if not more, text documents. This results in a set of N single speaker text documents where N>M.

At 212 the text documents produced at 210 are analyzed to identify linguistic patterns typically used by agents and/or patterns used by customers. This analysis can be performed using some type of heuristic such as, but not limited to, identifying repetitive long phrases that are highly correlated to an agent side of a conversation. In one embodiment, long scripted combinations of words are extracted. Script extraction and identification produces highly reliable results when a known script segment is identified; however, script extraction and labeling can result in many files being identified as unknown or indeterminate when insufficient matches to the extracted script text are identified.

The script extraction can be performed by analyzing the text documents from 210 to identify lists of word strings of a predetermined length (e.g. five, seven, or ten words) and the frequency among the text files with which these word combinations appear. It will be understood that adjustments to the word string length, when lower, will create a model that identifies more text, files as being on an agent side, while longer word string lengths will increase the accuracy that the identified text files are spoken by agents.

In an exemplary embodiment, identification of a script or other heuristics such as other repetitive words or phrases in a text file is indicative of a file having been spoken by an agent. As referenced above, when a script or another heuristic can be identified in a text file, this can produce a highly reliable identification of agent speech; however, such a technique is limited in that many other files of agent speech may be missed. Therefore, in an embodiment, the model training at 202 further selects only those text files that included a script and therefore were highly likely to have been spoken by an agent for further processing as disclosed herein at 214 to create the more robust agent linguistic model.

At 214, the linguistic model can be refitted and/or extended beyond the basic script identification arid furthermore in embodiments an agent linguistic model and a customer linguistic model may be created. This may exemplarily be performed by using the basic script identification as labeled training data for any standard supervised learning classifier. In embodiments of the systems and methods as disclosed herein, the agent scripts extracted from 212 can be used to create an agent subset of the text documents from 210. In such applications, the extracted scripts 212 are applied to the text documents from 210 in order to identify a subset of text documents that can be accurately known to be the agent side of conversations. This application can be performed by representing each of the text documents as a long string produced by the concatenation of all the words spoken by a speaker in the conversation, and the text document is associated with the text document that represents the other speaker side of the conversation in a group. For each side of the conversation, all of the extracted scripts from 212 are iterated over the text files in order to identify extracted scripts in the text files and a score is given to the identification of the script within the text file indicating the closeness of the script to the text identified in the text file. Each text file representing one side of the conversation is given a final score based upon the identified scripts in that text file and the text files representing two halves of the conversation are compared to one another to determine which half of the conversation has a higher score which is indicative of the agent side of the conversation. If the difference between the two scores is above a minimal separation threshold, then the text file identified to be the agent side of the conversation based upon the script analysis is added to the subset that may be used in the manner described below with the creation of an agent linguistic cloud.

As described above, after the subset of text files that are highly likely to be agent sides of conversations has been identified, the subset can be analyzed in order to create an agent linguistic model based as a linguistic cloud of word frequencies. In exemplary embodiments, the word frequencies in the linguistic cloud can be extended to joint distributions of word frequencies to capture frequencies not only of particular words, but phrases or sequences of words. When used for speaker labeling, embodiments of the agent linguistic model can result in fewer unidentified, unknown, or inconclusively labeled text files, but due to the nature of a conversation, transcript, or diarization, embodiments can have less accuracy than those identifications made using the extracted script model.

In addition to the use of scripts by a customer service agent, the agent's speech can be distinguished by the use of certain words, short phrases, or expressions. Shorter elements, including, but not limited to, unigrams, bigrams, and trigrams that are more correlated or prevalent in agent's side of conversation. By automatedly creating the subset where the agent side has been identified in the conversation as disclosed above, the unigrams, bigrams, and trigrams obtained from this subset are more accurately known to come from the agent, and thus can capture increased variability in the agent sides of the conversation.

In an embodiment, unigrams, bigrams, trigrams, words, or phrases that are more prominent to the agent are extracted similar to the manner as described above with respect to the script extractions. In an embodiment, those unigrams, bigrams, trigrams, words, or phrases that both occur frequently in the agent sides of the subset and appear more frequently in the agent sides of the subset than the corresponding customer sides of the conversation by at least a predetermined amount, may be added to the agent linguistic cloud model. Once all of the elements for the agent linguistic cloud model have been extracted, these elements, in addition to the previously extracted scripts, are all written in a text file as the agent linguistic model that can be used in the labeling portion 204 as shown in FIG. 2. A similar process may be used to create the customer linguistic model.

At 204 the created agent linguistic model which may contain elements of both the script and cloud techniques (and in embodiments, the customer linguistic model) are applied to a new call in order to diarize and label between an agent and a caller in the new call. In 204 a new call 216 is received and recorded or otherwise transformed into an audio file. It is to be recognized that embodiments, the labeling of 204 can be performed in real time or near-real time as the conversation is taking place, or may occur after the fact when the completed conversation is stored as an audio file. The new call 216 is diarized and transcribed at 218 which may occur in a similar manner as described above with respect to FIG. 1 and particularly 108, 110, and 112 at FIG. 1. As the result of such a blind diarization as exemplarily described above, the system and method still requires to identify which speaker is the agent and which speaker is the customer. This is performed in an agent diarization at 220 by applying the agent linguistic model and customer linguistic model created in 202 to the diarized transcript. In application at 220, the agent linguistic model is applied to both of the sides of the conversation and counted or weighted based upon the number of language specific patterns from the agent linguistic model are identified in each of the conversation halves identified as a first speaker and a second speaker. The conversation half with the higher score is identified as the agent and the other speaker of the other conversation half is identified as the customer.

It will be understood that in some embodiments of methods as disclosed herein, an agent linguistic model may be used in conjunction with other agent models, exemplarily an agent acoustical model that models specific acoustical traits attributed to a specific agent known to be one of the speakers in a conversation. Examples of acoustical voiceprint models are exemplarily disclosed in U.S. Provisional Patent Application No. 61/729,064 filed on Nov. 21, 2012, which is hereby incorporated by reference in its entirety. In some embodiments, linguistic models and acoustic models may be applied in an “and” fashion or an “or” fashion, while in still further embodiments, the different models are performed in a particular sequence in order to maximize the advantages of both models.

In exemplary embodiments of combined use of a linguistic model and an acoustic voiceprint model, the application of the models may be performed in parallel, or in conjunction. If the models are performed in parallel the resulting speaker diarization and labeling from each of the models can be compared before making a final determination on the labeling. In such an exemplary embodiment, if both models agree on the speaker label, then that label is used, while if the separate models disagree, then further evaluation or analysis may be undertaken in order to determine which model is more reliable or more likely to be correct based upon further context of the audio data. Such an exemplary embodiment may offer the advantages of both acoustic and linguistic modeling and speaker separation techniques. In exemplary embodiments, linguistic models may be better at making a distinction between agent speech and customer speech, while acoustic models may be better at discriminating between speakers in a specific audio file.

In a still further embodiment, the combination of both an acoustic voiceprint model and a linguistic model can help to identify errors in the blind diarization or the speaker separation phases, exemplarily by highlighting portions of the audio data and transcription within which the two models disagree and for facilitating a more detailed analysis in those areas in order to arrive at the correct diarization in speaker labeling. Similarly, the use of an additional acoustic model may provide a backup for instance wherein a linguistic model is not available. Such an exemplary embodiment may occur when analyzing audio data of an unknown topic or before a linguistic model can be created, such as described above with respect to FIG. 2.

In still further embodiments, the use of a combination of acoustic and linguistic models may help in the identification and separation of speakers in audio data that contain more than two speakers, exemplarily, one customer service agent and two customers, two agents, and one customer, or an agent, a customer, and an automated recording. As mentioned above, embodiments of a linguistic model may have strength in discriminating between agent speech and customer speech while an acoustic model may better distinguish between two similar speakers, exemplarily between two agents or two customers, or an agent and a recorded voice message.

This written description uses examples to disclose the invention, including the best mode, and also to enable any person skilled in the art to make and use the invention. The patentable scope of the invention is defined by the claims, and may include other examples that occur to those skilled in the art. Such other examples are intended to be within the scope of the claims if they have structural elements that do not differ from the literal language of the claims, or if they include equivalent structural elements with insubstantial differences from the literal languages of the claims. 

1.-20. (canceled)
 21. A non-transitory computer-readable medium having instructions stored thereon for facilitating diarization of audio files from a customer service interaction, wherein the instructions, when executed by a processing system, direct the processing system to: receive a set of audio data from an audio database server at a speech-to-text (SST) server, wherein each audio data is an audio recording of a conversation between two or more speakers, wherein at least one of the two or more speakers is a customer service agent, further wherein at least one of the two or more speakers is a customer; analyze the audio data with the SST server to create textual transcripts for each the audio data, wherein the textual transcripts include an identification of homogeneous speaker segments; receive a sub-set of the textual transcripts and a sub-set of audio data for diarization, wherein the sub-set of audio data is the audio data associated with each of the sub-set of the textual transcripts; perform a blind diarization on the sub-set of textual transcripts to segment and cluster the sub-set of textual transcripts into a plurality of textual speaker clusters, wherein the number of textual speaker clusters is at least equal to a number of speakers in each textual transcript; apply at least one heuristic to the textual speaker clusters with a processor to select textual speaker clusters likely to be associated with an identified group of speakers; analyze the selected textual speaker clusters to extract a subset of the textual speaker clusters known to be spoken by the identified group of speakers; create at least one linguistic model based on the extracted subset of textual speaker clusters; and apply the at least one linguistic model to a new audio file transcript from an audio source to perform diarization of the new audio file by blind diarizing the new audio file, comparing each new textual speaker cluster to the at least one linguistic model, and labeling each textual speaker cluster as belonging to a customer service agent or belonging to a customer.
 22. The non-transitory computer-readable medium of claim 21, further directing the processing system to receive metadata associated with each of the audio data at the SST server.
 23. The non-transitory computer-readable medium of claim 22, wherein the SST server uses the metadata associated with each of the audio data to determine at least one technique for creating each of the textual transcripts.
 24. The non-transitory computer-readable medium of claim 21, further directing the processing system to determine a confidence score for each of the textual transcripts.
 25. The non-transitory computer-readable medium of claim 24, wherein the subset of textual transcripts received are textual transcripts that have a high confidence score.
 26. The non-transitory computer-readable medium of claim 21, directing the processing system to perform a blind diarization on the sub-set of audio data to segment and cluster the sub-set of audio data into a plurality of audio speaker clusters, wherein the number of audio speaker clusters is at least equal to a number of speakers in each audio data, wherein the number of speakers in each of the sub-set of audio data equals the number of speakers in each related textual transcript.
 27. The non-transitory computer-readable medium of claim 21, directing the processing system to: apply the linguistic model to the textual speaker clusters to label a portion of the textual speaker clusters as having been spoken by the identified group of speakers; determine word use frequencies for words in the labeled textual speaker clusters; determine word use frequencies for words in the non-labeled textual speaker clusters; and compare the word use frequencies for words in the selected transcripts to the word use frequencies for words in the non-selected transcripts with the processor to identify a plurality of discriminating words in the selected transcripts to be added to the at least one linguistic model.
 28. The non-transitory computer-readable medium of claim 21, directing the processing system to save the at least one linguistic model to a linguistic database server and associating it with the identified group of speakers.
 29. The non-transitory computer-readable medium of claim 21, wherein the at least one heuristic is detection of a script associated with the identified group of speakers.
 30. The non-transitory computer-readable medium of claim 21, wherein the identified group of speakers are customer service agents.
 31. The non-transitory computer-readable medium of claim 21, wherein the identified group of speakers is a specific customer service agent.
 32. A system for diarization and labeling of audio data, the system comprising: an audio database server comprising a plurality of audio files; a speech-to-text (SST) server that: receives a set of audio data from the audio database server, wherein each audio data is an audio recording of a conversation between two or more speakers, wherein at least one of the two or more speakers is a customer service agent, further wherein at least one of the two or more speakers is a customer, analyzes the audio data to create textual transcripts for each the audio data, wherein the textual transcripts include an identification of homogeneous speaker segments; a processor that: receives a sub-set of the textual transcripts and a sub-set of audio data for diarization from the SST server, wherein the sub-set of audio data is the audio data associated with each of the sub-set of the textual transcripts, performs a blind diarization on the sub-set of textual transcripts to segment and cluster the sub-set of textual transcripts into a plurality of textual speaker clusters, wherein the number of textual speaker clusters is at least equal to a number of speakers in each textual transcript, applies at least one heuristic to the textual speaker clusters with a processor to select textual speaker clusters likely to be associated with an identified group of speakers, analyzes the selected textual speaker clusters to extract a subset of the textual speaker clusters known to be spoken by the identified group of speakers, creates at least one linguistic model based on the extracted subset of textual speaker clusters; and an audio source that provides new transcribed audio data to the processor; wherein the processor applies the at least one linguistic model to a new audio file transcript from an audio source to perform diarization of the new audio file by blind diarizing the new audio file, comparing each new textual speaker cluster to the at least one linguistic model, and labeling each textual speaker cluster as belonging to a customer service agent or belonging to a customer.
 33. The system of claim 32, wherein the SST server further receives metadata associated with each of the audio data.
 34. The system of claim 33, wherein the SST server further uses the metadata associated with each of the audio data to determine at least one technique for creating each of the textual transcripts.
 35. The system of claim 32, wherein the SST server further determines a confidence score for each of the textual transcripts.
 36. The system of claim 35, wherein the subset of textual transcripts received are textual transcripts that have a high confidence score.
 37. The system of claim 32, wherein the processor further performs a blind diarization on the sub-set of audio data to segment and cluster the sub-set of audio data into a plurality of audio speaker clusters, wherein the number of audio speaker clusters is at least equal to a number of speakers in each audio data, wherein the number of speakers in each of the sub-set of audio data equals the number of speakers in each related textual transcript.
 38. The system of claim 32, wherein the processor further: applies the linguistic model to the textual speaker clusters to label a portion of the textual speaker clusters as having been spoken by the identified group of speakers, determines word use frequencies for words in the labeled textual speaker clusters, determines word use frequencies for words in the non-labeled textual speaker clusters, and compares the word use frequencies for words in the selected transcripts to the word use frequencies for words in the non-selected transcripts with the processor to identify a plurality of discriminating words in the selected transcripts to be added to the at least one linguistic model.
 39. The system of claim 32, the system further comprising a linguistic database server for storing the at least one linguistic model, wherein the processor further saves the at least one linguistic model to the linguistic database server and associates the linguistic model with the identified group of speakers.
 40. The system of claim 32, wherein the at least one heuristic is detection of a script associated with the identified group of speakers. 